﻿using AutoMapper;
using SeckillService.Model;
using SeckillService.Services.Dtos;

namespace SeckillService.ObjectMapping;

public class SeckillServiceAutoMapperProfile : Profile
{
    public SeckillServiceAutoMapperProfile()
    {
        /* Create your AutoMapper object mappings here */
        CreateMap<Seckill, SeckillDto>().ReverseMap();

        CreateMap<SeckillProduct, SeckillProductDto>().ReverseMap();
    }
}
